package com.dragon.user_service.api.MQ;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class pushLogService {

    @Resource
    private MQProducer mqProducer;

    public void sendSaveLogMsg(writeLogEvent writeLogEvent) {
        mqProducer.sendMsg(MQConstant.LOG_MSG_TOPIC, writeLogEvent);
    }

}
